.aggregate-analysis {
  .aa-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-content: center;

    .aa-box {
      width: 50%;
    }

    .card__bottom {
      position: relative;
      font-size: 32px;
      font-weight: 500;
      line-height: 45px;

      i {
        position: absolute;
        right: -3px;
        bottom: 11px;

        svg {
          transform: scaleX(0.5);
          width: 16px;
          height: 16px;
        }
      }
    }

    .padding-right-24 {
      padding-right: 24px;
    }
  }

  .aa-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;

    .title {
      color: rgba(30, 31, 35, 1);
    }

    .download-btn {
      margin-left: 8px;
      cursor: pointer;
    }

    .return-asset-list {
      cursor: pointer;
      color: rgba(0, 0, 0, 0.65);
    }
  }

  .summary-big {
    display: flex;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(230, 234, 239, 1);

    .total {
      .card {
        margin-bottom: 20px;
        margin-top: 15px;
      }
    }

    .site-wrapper {
      flex: 1;
      display: flex;
    }

    .img-wrapper {
      display: inline-block;
      padding: 12px;
      font-size: 0;
      line-height: 175px;

      img {
        width: 80px;
        height: 80px;
      }
    }

    .origin {
      flex: 1;
      padding-top: 8px;
      font-size: 16px;

      > div {
        cursor: pointer;
        height: 35px;
        line-height: 35px;

        &:hover {
          color: #308fe3;
        }
      }
    }

    .card {
      padding: 16px;

      &-clickable {
        cursor: pointer;
        transition: all 0.36s;

        &:hover {
          .card__top {
            color: #308fe3;
          }
        }

        .card__top {
          font-size: 16px;
        }

        .card__bottom {
          font-size: 34px;
        }
      }
    }

    .card__top {
      font-size: 16px;
    }

    .card__bottom {
      font-size: 34px;
    }
  }

  .items-big {
    display: flex;
    justify-content: space-between;
    padding-top: 50px;

    .card {
      flex: 1 1;
      padding: 0;
      background-color: inherit;
      cursor: pointer;
      height: 24px;
      line-height: 24px;

      .card__top {
        margin-top: 13px;
        font-size: 16px;

        &:hover {
          color: #308fe3;
        }
      }

      .card__bottom {
        font-size: 34px;
      }
    }
  }

  .aa-top {
    .card {
      padding: 16px;
      background: rgba(247, 249, 252, 1);

      &-clickable {
        cursor: pointer;
        transition: all 0.36s;

        &:hover {
          .card__top {
            color: #308fe3;
          }
        }
      }

      &__top {
        font-size: 14px;
        font-weight: 400;
        color: rgba(104, 108, 120, 1);
        line-height: 20px;
      }

      &__bottom {
        position: relative;
        font-size: 32px;
        font-weight: 500;
        line-height: 45px;

        i {
          position: absolute;
          right: -3px;
          bottom: 11px;

          svg {
            transform: scaleX(0.5);
            width: 16px;
            height: 16px;
          }
        }
      }
    }

    &__left,
    &__right {
      padding: 24px;
      background-color: #ffffff;
      height: 100%;

      .summary {
        display: flex;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(230, 234, 239, 1);

        // height: 140px;
        .card {
          margin-left: 24px;
          margin-top: 3px;
          padding: 0;
          background-color: inherit;

          &__top {
            height: 20px;
            font-size: 14px;
            font-weight: 400;
            color: rgba(104, 108, 120, 1);
            line-height: 20px;
          }

          &__bottom {
            margin-top: 4px;
          }
        }

        .origin {
          flex: 1;
          margin-left: 48px;

          > div {
            cursor: pointer;
            height: 24px;
            line-height: 24px;

            &:hover {
              color: #308fe3;
            }
          }
        }
      }

      .items {
        display: flex;
        justify-content: space-between;
        padding-top: 24px;

        .card {
          flex: 1 1;
          padding: 0;
          background-color: inherit;

          .card__bottom {
            margin-top: 13px;
          }
        }
      }
    }
  }

  .aa-middle {
    margin-top: 24px;
    height: 368px;

    .aa-c-thrend {
      padding: 24px;
      height: 100%;
      background-color: #ffffff;
    }
  }

  .aa-bottom {
    margin-top: 24px;
  }

  .block-wrapper {
    padding-left: 24px;

    .block__left {
      display: inline-block;
      width: 50%;
      height: 100%;
      margin-left: -24px;
      margin-right: 24px;
    }

    .block__right {
      display: inline-block;
      width: 50%;
      height: 100%;
    }
  }

  .img-wrapper {
    display: inline-block;
    padding: 12px;
    font-size: 0;
    line-height: 80px;

    img {
      width: 48px;
      height: 48px;
      line-height: 105px;
    }
  }

  .asset-img,
  .finger-img {
    background-color: #f7f9fc;
  }

  .bug-img {
    color: #f04038;
    background-color: #fef5f5;
  }

  .total-wrapper {
    flex: 7;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    .total {
      flex: 1;

      .card {
        display: flex;
        align-items: flex-end;
        padding: 0;
        background-color: inherit;
        gap: 5px;

        .card__bottom {
          font-size: 24px;
          line-height: 1 !important;
        }

        &.card-clickable {
          cursor: pointer;
        }
      }
    }

    .origin {
      text-align: left;
      flex: 0.5;
    }
  }
}
